package com.ruoyi.hotel.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 对象 lyhms_room_type
 * 
 * @author ruoyi
 * @date 2022-02-28
 */
public class LyhmsRoomType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房间类型-(房间价格-床型-可住人数)，k-v对 */
    private Long id;

    /** 房间类型编号；唯一值，UUID */
    @Excel(name = "房间类型编号；唯一值，UUID")
    private String roomTypeNumber;

    /** 房间类型名称 */
    @Excel(name = "房间类型名称")
    private String roomTypeName;

    /** 房间价格；k-v */
    @Excel(name = "房间价格；k-v")
    private BigDecimal roomTypePrice;

    /** 房间床型；k-v */
    @Excel(name = "房间床型；k-v")
    private String roomTypeBedType;

    /** 房间可住人数；k-v */
    @Excel(name = "房间可住人数；k-v")
    private String roomTypePeopleNumber;
    private long deptId;

    public long getDeptId() {
        return deptId;
    }

    public void setDeptId(long deptId) {
        this.deptId = deptId;
    }

    /** 房间类型图片；多图，两张图之间用,分隔开来 */
    @Excel(name = "房间类型图片；多图，两张图之间用,分隔开来")
    private String roomTypePhoto;

    /** 排序索引；最多5位，其中必须有2位小数；最大值999.99 */
    @Excel(name = "排序索引；最多5位，其中必须有2位小数；最大值999.99")
    private BigDecimal sortIndex;

    /** 首次创建者id */
    @Excel(name = "首次创建者id")
    private String createrId;

    /** 首次创建者name */
    @Excel(name = "首次创建者name")
    private String createrName;

    /** 历次修改者id */
    @Excel(name = "历次修改者id")
    private String updaterId;

    /** 历次修改者name */
    @Excel(name = "历次修改者name")
    private String updaterName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoomTypeNumber(String roomTypeNumber) 
    {
        this.roomTypeNumber = roomTypeNumber;
    }

    public String getRoomTypeNumber() 
    {
        return roomTypeNumber;
    }
    public void setRoomTypeName(String roomTypeName) 
    {
        this.roomTypeName = roomTypeName;
    }

    public String getRoomTypeName() 
    {
        return roomTypeName;
    }
    public void setRoomTypePrice(BigDecimal roomTypePrice) 
    {
        this.roomTypePrice = roomTypePrice;
    }

    public BigDecimal getRoomTypePrice() 
    {
        return roomTypePrice;
    }
    public void setRoomTypeBedType(String roomTypeBedType) 
    {
        this.roomTypeBedType = roomTypeBedType;
    }

    public String getRoomTypeBedType() 
    {
        return roomTypeBedType;
    }
    public void setRoomTypePeopleNumber(String roomTypePeopleNumber) 
    {
        this.roomTypePeopleNumber = roomTypePeopleNumber;
    }

    public String getRoomTypePeopleNumber() 
    {
        return roomTypePeopleNumber;
    }
    public void setRoomTypePhoto(String roomTypePhoto) 
    {
        this.roomTypePhoto = roomTypePhoto;
    }

    public String getRoomTypePhoto() 
    {
        return roomTypePhoto;
    }
    public void setSortIndex(BigDecimal sortIndex) 
    {
        this.sortIndex = sortIndex;
    }

    public BigDecimal getSortIndex() 
    {
        return sortIndex;
    }
    public void setCreaterId(String createrId) 
    {
        this.createrId = createrId;
    }

    public String getCreaterId() 
    {
        return createrId;
    }
    public void setCreaterName(String createrName) 
    {
        this.createrName = createrName;
    }

    public String getCreaterName() 
    {
        return createrName;
    }
    public void setUpdaterId(String updaterId) 
    {
        this.updaterId = updaterId;
    }

    public String getUpdaterId() 
    {
        return updaterId;
    }
    public void setUpdaterName(String updaterName) 
    {
        this.updaterName = updaterName;
    }

    public String getUpdaterName() 
    {
        return updaterName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomTypeNumber", getRoomTypeNumber())
            .append("roomTypeName", getRoomTypeName())
            .append("roomTypePrice", getRoomTypePrice())
            .append("roomTypeBedType", getRoomTypeBedType())
            .append("roomTypePeopleNumber", getRoomTypePeopleNumber())
            .append("roomTypePhoto", getRoomTypePhoto())
            .append("remark", getRemark())
            .append("sortIndex", getSortIndex())
            .append("createTime", getCreateTime())
            .append("createrId", getCreaterId())
            .append("createrName", getCreaterName())
            .append("updaterId", getUpdaterId())
            .append("updaterName", getUpdaterName())
            .toString();
    }
}
